<template>
  <div>
    <h2>Right组件</h2>
    <p>{{age}}</p>
    <button @click="age++">加1</button>
  </div>
</template>

<script>
export default {
data(){
  return{
    age:20
  }
}
}
</script>

<style scoped>
div{
  background-color: aquamarine;
  min-height: 200px;
}
</style>